﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Registration.aspx.cs" Inherits="ADECMS.Registration" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <link href="Css/ADEStylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <table style="height:150px">
        <tr>
            <td style="font-family: Segoe Script; font-size: 48px; color: Purple; width: 20%;">
                <a href="Default.aspx" style="font-family: Segoe Script; font-size: 48px; color: Purple; width: 20%; text-decoration:none;">
                ADE
                </a>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="height: 45px;">
                &nbsp;
            </td>
        </tr>
    </table>
    <table>
        <tr style="height:20px">
            <td>
                &nbsp;
            </td>
        </tr>
        <tr style="height:20px">
            <td>
                <asp:Label ID="Label18" runat="server" Text="Registracija novog korisnika:" 
                    CssClass="registracijaHeader"></asp:Label>
            </td>
        </tr>
        <tr style="height:20px">
            <td>
                &nbsp;
            </td>
        </tr>
    </table>
    <table>
        <tr>
            <td style="width:200px">
                &nbsp;
            </td>
            <td>        
                <form id="form1" runat="server">
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="Label1" runat="server" Text="Ime: " CssClass="inputLabel"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Ime" runat="server" CssClass="inputText"></asp:TextBox>
                                <asp:Label ID="Label5" runat="server" CssClass="inputObligatory" Text="*"></asp:Label>               
                                &nbsp;&nbsp;
                                <asp:Label ID="LabelIme" runat="server" CssClass="inputObligatory"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label2" runat="server" Text="Prezime:" CssClass="inputLabel"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Prezime" runat="server" CssClass="inputText"></asp:TextBox>
                                <asp:Label ID="Label6" runat="server" CssClass="inputObligatory" Text="*"></asp:Label>               
                                &nbsp;&nbsp;
                                <asp:Label ID="LabelPrezime" runat="server" CssClass="inputObligatory"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label3" runat="server" Text="Korisničko ime:" CssClass="inputLabel"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="UserName" runat="server" CssClass="inputText"></asp:TextBox>
                                <asp:Label ID="Label7" runat="server" ForeColor="Red" Text="*"></asp:Label>             
                                &nbsp;&nbsp;
                                <asp:Button ID="Dostupnost" runat="server" onclick="Dostupnost_Click" Text="Dostupnost" />
                                &nbsp;&nbsp;
                                <asp:Label ID="LabelUserName" runat="server" CssClass="inputObligatory"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label4" runat="server" Text="Šifra:" CssClass="inputLabel"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="Pass" runat="server" TextMode="Password" CssClass="inputText"></asp:TextBox>
                                <cc1:PasswordStrength ID="Pass_PasswordStrength" runat="server" 
                                    TargetControlID="Pass">
                                </cc1:PasswordStrength>
                                <asp:Label ID="Label8" runat="server" CssClass="inputObligatory" Text="*"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label9" runat="server" Text=" Potvrdi šifru:" CssClass="inputLabel"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="PassConf" runat="server" TextMode="Password" CssClass="inputText"></asp:TextBox>
                                <asp:Label ID="Label10" runat="server" CssClass="inputObligatory" Text="*"></asp:Label>
                                &nbsp;&nbsp;
                                <asp:Label ID="LabelPass" runat="server" CssClass="inputObligatory"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label ID="Label14" runat="server" Text="Email:" CssClass="inputLabel"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="email1" runat="server" CssClass="inputText"></asp:TextBox>
                                <asp:Label ID="Label11" runat="server" Text="@" CssClass="inputLabel2"></asp:Label>
                                <asp:TextBox ID="email2" runat="server" Width="150px" CssClass="inputText"></asp:TextBox>
                                <asp:Label ID="Label12" runat="server" Text="." CssClass="inputLabel2"></asp:Label>
                                <asp:TextBox ID="email3" runat="server" Width="40px" CssClass="inputText"></asp:TextBox>
                                <asp:Label ID="Label13" runat="server" CssClass="inputObligatory" Text="*"></asp:Label>
                                <asp:Label ID="LabelEmail" runat="server" CssClass="inputObligatory"></asp:Label>
                            </td>
                        </tr>
                        <tr style="height: 20px">
                            <td colspan="2">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                    
                    <hr />  
                    
                    <asp:Label ID="Label15" runat="server" Text="Dodatne opcije" CssClass="inputDodatneOpcije"></asp:Label>
                    <br />
                    <table>
                        <tr>
                            <td>
                                <asp:Label ID="Label16" runat="server" Text="Opis: " CssClass="inputLabel"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:TextBox ID="Opis" runat="server" Height="119px" TextMode="MultiLine" 
                                    CssClass="inputArea"></asp:TextBox>
                                <asp:ScriptManager ID="ScriptManager1" runat="server">
                                </asp:ScriptManager>
                                <cc1:NoBot ID="NoBot1" runat="server" />
                            </td>
                        </tr>
                        <tr style="height: 20px">
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr >
                            <td>
                                <asp:Label ID="Label17" runat="server" Text="Avatar:" CssClass="inputLabel"></asp:Label>
                            </td>
                        </tr>
                        <tr style="height: 20px">
                            <td>
                                <asp:FileUpload ID="AvatarUpload" runat="server" CssClass="inputText" />
                                <asp:Label ID="LabelAvatarUpload" runat="server" CssClass="inputObligatory"></asp:Label>
                            </td>
                        </tr>
                        <tr style="height: 20px">
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Button ID="Submit" runat="server" Height="26px" onclick="Submit_Click" 
                                    style="margin-left: 280px" Text="Submit" />
                                <asp:Button ID="Button1" runat="server" onclick="Button1_Click1" 
                                    style="margin-left: 11px" Text="Back"  />
                            </td>
                        </tr>
                    </table>
                </form>
            </td>
        </tr>
    </table>
</body>
</html>
